LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2011, 10:47 AM   #16
ostrosky.jeremiah
LQ Newbie
 
Registered: Aug 2011
Location: Pittsburgh, Pa
Distribution: Centos 6.4
Posts: 29

Rep: Reputation: Disabled
psftp


PuTTy offers an additional program in their suite called psftp which accepts most normal ftp commands. It's free so just google it. It allows you to login via ssh but operates very similarly to a normal ftp client.
 
Old 09-26-2011, 10:37 PM   #17
hbhb
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colucix View Post
Please, try
Code:
!ls -l
inside the ftp session. The exclamation mark executes the command from the local shell. It should give you the listing of the current working directory in the local machine (server A).
I am now connected to server B from server A

ftp> !ls
billing_billing.sql

The file is there in my local directory..

The thing is, how do I upload it?
 
Old 09-26-2011, 11:16 PM   #18
hbhb
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Original Poster
Rep: Reputation: 0
-deleted-
 
Old 09-27-2011, 01:38 AM   #19
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Quote:
Originally Posted by hbhb View Post
I am now connected to server B from server A

ftp> !ls
billing_billing.sql

The file is there in my local directory..

The thing is, how do I upload it?
I'd like to see the long listing output (see option -l). I suspect it is a link to a non-existent file. To upload it there is no other chance than the put command of ftp. The problem is to understand way the file is not really there. The only option coming in my mind is that it is a broken link. Please provide informations about this file as much as possible:
Code:
$ ls -l billing_billing.sql
$ file billing_billing.sql
$ stat billing_billing.sql
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload file to ftp server -vsftp- but can not delete or change the file once uploaded murattas6 Linux - Server 2 06-26-2009 06:00 AM
What is the FTP command to upload a folder? malcarada Linux - Newbie 2 03-17-2008 11:32 PM
How can I limit upload ftp speed via the command line? toben Linux - Software 2 02-29-2008 05:51 PM
Best way to upload (FTP) something via the command line... obelxi Linux - Networking 2 03-17-2005 06:15 PM
upload directories via ftp command farqad Linux - Networking 3 10-06-2003 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration