Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: Net::SFTP::Foreign stat Error

by salva (Canon)
on Oct 26, 2011 at 20:39 UTC ( [id://933993]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Net::SFTP::Foreign stat Error
in thread Net::SFTP::Foreign stat Error

The setcwd method call is failing. It seems that the directory to_country does not exist on the server.

Though, the real funny thing is that for the remote server ./test.txt and test.txt are not the same file.

I have never seen that Serv-U SFTP server before. I will try to test it.

Replies are listed 'Best First'.
Re^6: Net::SFTP::Foreign stat Error
by csftpteam (Novice) on Oct 26, 2011 at 20:48 UTC
    The to_country directory definitely exists:

    sftp> pwd Remote working directory: /to_country sftp> ls -la -rw-rw-rw- 1 user group 112 Oct 25 20:17 test.txt

      to_country and /to_country are not the same!
        I change my change dir command to use /to_country instead of to_country and it worked! Thanks for your help! I didn't pick up on that minute difference.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://933993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-24 06:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found