Solved

ftp script

Posted on 2008-06-26
4
336 Views
Last Modified: 2013-12-16
Hi,

I'm trying to make an ftp URL to connect to a ftp server using the ftp command on Mac OS.
The username I have is like this :
blablabla@blibli.com

So the command to connect is this one
blablabla@blibli.com:password@server.com

I'm can't get ftp to connect to the server in one command since it always assumes I want to connect to "@blibli.com" when I want to connect to "server.com"...

Anyone has an idea ?

Cheers

Terence
0
Comment
Question by:terencepires
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:laneduncan
ID: 21874576
You might consider using a shell script, something like what is described on this site:
http://www.bradrice.com/wposx/archives/57

0
 
LVL 1

Author Comment

by:terencepires
ID: 21874632
isn't there a syntax type that could allow usernames with an @ ?
0
 
LVL 10

Accepted Solution

by:
laneduncan earned 500 total points
ID: 21875126
Not that I'm aware of, from the command line, that is.
I do believe that curl will allow you to do this, however, with the -u switch.  I'd recommend giving it a shot:
http://curl.netmirror.org/
0
 
LVL 1

Author Closing Comment

by:terencepires
ID: 31470952
thanks for your advice, i'll give it a shot !

Cheers

Terence
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Utilizing an array to gracefully append to a list of EmailAddresses
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question