Dreamweaver wont completely upload images with ftp
This is my first site I have created. I am using dreamweaver cs5 and I am trying to upload my site to the internet. I set up my ftp and tested it and it worked but when i try to upload my local files to the remote files, i check my domain name and all that comes up is the layout and outline of my boxes. None of the images show up even though the folder with all the images says it transfered over to the remote files. Please help.
Check that you are actually using legal file types and file names.
For example... no psd files, no files created as CMYK color mode.
File names on the server are case sensative and can not contain any special characters such as spaces.
So as a rule, both file and folder names should be all lower case and contain no spaces.
My Image.JPG is NOT the same file as my_image.jpg
Use underscore_instead_of_spaces. .... and no upper case.
Best wishes,
Adninjastrator
Similar Messages
-
Problem uploading images with php script.
As a webdebdesigner i developped a cms system to upload images with php to a mysql database. Firefox version 5.0.1 for MAC and earlier have no problems with uploading through the script. But after that version it is impossible to upload images bigger then 250kb. The page where the customer chooses his image for upload stalls and the form is not sent to the actual upload script, which should validate and process the image.
This problem only occurs in Firefox, all other browsers work just fine!
On top of that: Giving feedback to firefox not possible for MAC.Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web site development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum. -
Wordpress http error while uploading images with flash
Hi guys
I have a problem with my wordpress blog " bollywood wallpapers ". When I try to upload images with defualt wordpress flash uploader I get "http" error.
I am having this problem from last 5 months.Dear Siva,
that is indeed strange.
Still don't know if this could be an issue with your NWDS or the PAR itself.
So let's do 2 tests
===============================================
TEST NR. 1
Let's try and check the NWDS first by creating a custom PAR.
Don't worry, it's easy.
Just open your NWDS and go to the top menu
File > New > Project
Inside the popup window that will open please choose
Portal Application (on the left) and Create a Portal Application Project (on the right)
Then give any name you would like (no spaces or dots, etc...)
You now have a Portal project created on NWDS ( you will see a folder on the left side with your project name)
Click on that folder with your LEFT mouse button and choose EXPORT
Choose PAR File
Choose your Project
Choose a path where you want your PAR file to be saved. (uncheck the deploy PAR file, but check the include the source code).
And click Finish.
Now delete the project you have created (by clicking on the folder with your LEFT mouse button again, but chose DELETE project)
Now you're ready to re-import the PAR file.
===============================================
TEST NR. 2
Maybe your standard PAR file that you've downloaded doesn't have the source code included or is corrupted.
Please try to open it with a ZIP program and check what type of structure/files you have there.
Have you also checked your NWDS log ?
You could also share here that log, so that I can better help you.
Kindest Regards
/Ricardo -
Hello,
I am facing a wired issue with Picture Libraries in SharePoint.
We created a custom field and added it to UserInfo list, the column based on custom field lets user upload their personal images to a Picture Library with the name <User ID>.<Image Extension> e.g. 1.jpg where UserID is internal Listitem ID of the UserInfo list and set its URL to the field value which we use to display the image on our custom user profile and some other WebParts.
If the user uploads a different image, it will overwrite the existing one it keeping the same name.
The field worked perfectly with sites using widows Based authentication, but as we move the field to sites with form based authentication we find that the field is able to upload the image properly first time but on each successive upload, although a new image gets uploaded with the name userid.imagextension and is shown in the allitems.aspx page in the thumbnail view and in the picture preview on the dispform.aspx page, but the link next to the name field and the image shown on clicking the preview points to the old image.
To put it other way
https://<Web URL>/Picture%20Library/_w/Upload_jpg.jpg
https://<Web Url>/Picture%20Library/_t/Upload_jpg.jpg
Would show the updated image
but the actual URL
https://<Web Url>/Picture%20Library/Upload.jpg
points to the old image
what’s even more strange is that even after deleting the image the url still shows the old image at
https://<Web Url>/Picture%20Library/Upload.jpg
I confirmed the same by actually repeating the same exercise on a picture Library in the User Interface
Uploading an image say upload.jpeg in the picture library using SharePoint interface.
Then uploading a different jpeg image keeping the same name upload.jpeg again in the picture library.
In allitems.aspx thumbnail view and on dispform.aspx page preview filed image now show the newly uploaded image but when you click the preview image or click the link in the name field value it takes you back to the old image.
I have seen this issue on environment where we have enabled form based authentication and the issue is not seen on another server where we have wss with windows based authentication.
Has anyone noticed such behavior and is there any workaround to that!
Thanks & Regards
Saurabh RustagiAll,
I had the same issue.
In my case, Blob Cache was enabled for the web application in which the image issue was occuring.
I cleared blob cache, and after doing a hard refresh of my browser, the correct image was then displayed.
To clear blob cache, do the following:
Navigate to:
http://yourwebapp:port/yoursite/_layouts/objectcachesettings.aspx
Select: "Object Cache Flush" and "Force all servers in the farm to flush their object cache" check boxes
Click the OK button
Hope this helps. -
Upload image with Zprogram instead se78
Dear Gurus ,
I founf in sdn a useful program that upload images instead se78.
It works fine but i cant find how to pass the Description of the image....
Can you give me a hint ?
Look the code ....
REPORT ZTEST2.
TYPE-POOLS: SBDST.
TABLES: STXBITMAPS.
CONSTANTS:
C_BDS_CLASSNAME TYPE SBDST_CLASSNAME VALUE 'DEVC_STXD_BITMAP',
C_BDS_CLASSTYPE TYPE SBDST_CLASSTYPE VALUE 'OT', " others
C_BDS_MIMETYPE TYPE BDS_MIMETP VALUE 'application/octet-stream',
C_BDS_ORIGINAL TYPE SBDST_DOC_VAR_TG VALUE 'OR'.
* Globals and globals for dynpro fields
DATA: G_OBJECTTYPE(20) TYPE C,
G_NEW_RESOLUTION LIKE STXBITMAPS-RESOLUTION,
G_STXBITMAPS TYPE STXBITMAPS,
G_STXH TYPE STXH,
G_TECHINFO TYPE RSSCG,
T_SIZE(40),
BDS_DESCRIPTION LIKE BAPISIGNAT-PROP_VALUE VALUE 'LALALA'.
CONSTANTS:
C_OBJECTTYPE_BDS LIKE G_OBJECTTYPE VALUE 'BDS',
C_OBJECTTYPE_STDTEXT LIKE G_OBJECTTYPE VALUE 'OBTEXT',
C_OBJECTTYPE_GRTEXT LIKE G_OBJECTTYPE VALUE 'OBGRAPHICS'.
DATA: P_FILENAME TYPE RLGRAP-FILENAME,
P_OBJECT TYPE STXBITMAPS-TDOBJECT,
P_ID TYPE STXBITMAPS-TDID,
P_BTYPE TYPE STXBITMAPS-TDBTYPE,
P_FORMAT TYPE C,
P_TITLE LIKE BDS_DESCRIPTION,
P_RESIDENT TYPE STXBITMAPS-RESIDENT,
P_AUTOHEIGHT TYPE STXBITMAPS-AUTOHEIGHT,
P_BMCOMP TYPE STXBITMAPS-BMCOMP.
DATA L_FILE TYPE STRING..
DATA: L_FILENAME TYPE STRING,
L_BYTECOUNT TYPE I,
L_BDS_BYTECOUNT TYPE I.
DATA: L_COLOR(1) TYPE C,
L_WIDTH_TW TYPE STXBITMAPS-WIDTHTW,
L_HEIGHT_TW TYPE STXBITMAPS-HEIGHTTW,
L_WIDTH_PIX TYPE STXBITMAPS-WIDTHPIX,
L_HEIGHT_PIX TYPE STXBITMAPS-HEIGHTPIX.
DATA: L_BDS_OBJECT TYPE REF TO CL_BDS_DOCUMENT_SET,
L_BDS_CONTENT TYPE SBDST_CONTENT,
L_BDS_COMPONENTS TYPE SBDST_COMPONENTS,
WA_BDS_COMPONENTS TYPE LINE OF SBDST_COMPONENTS,
L_BDS_SIGNATURE TYPE SBDST_SIGNATURE,
WA_BDS_SIGNATURE TYPE LINE OF SBDST_SIGNATURE,
L_BDS_PROPERTIES TYPE SBDST_PROPERTIES,
WA_BDS_PROPERTIES TYPE LINE OF SBDST_PROPERTIES.
DATA WA_STXBITMAPS TYPE STXBITMAPS.
PARAMETERS: P_FILE TYPE RLGRAP-FILENAME OBLIGATORY.
PARAMETERS: P_MATNR LIKE MARA-MATNR OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
START-OF-SELECTION.
DATA: P_NAMEX TYPE STXBITMAPS-TDNAME.
MOVE P_MATNR TO P_NAMEX.
DATA: FILELENGTH TYPE I.
DATA: BEGIN OF L_BITMAP OCCURS 0,
L(64) TYPE X,
END OF L_BITMAP.
L_FILE = P_FILE.
*SELECT SINGLE * FROM STXBITMAPS WHERE TDNAME = P_NAMEX.
* IF SY-SUBRC NE 0.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = L_FILE
FILETYPE = 'BIN'
IMPORTING
FILELENGTH = L_BYTECOUNT
TABLES
DATA_TAB = L_BITMAP
EXCEPTIONS
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
NO_BATCH = 1
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
* call method l_bds_object->get_info
* exporting
* classname = c_bds_classname
* classtype = c_bds_classtype
* object_key = l_object_key
* changing
* signature = l_bds_signature
* exceptions
* nothing_found = 1
* others = 2.
DATA: P_DOCID TYPE STXBITMAPS-DOCID.
DATA: P_RESOLUTION LIKE STXBITMAPS-RESOLUTION.
DATA: L_OBJECT_KEY TYPE SBDST_OBJECT_KEY.
CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP_BDS'
EXPORTING
COLOR = 'X'
FORMAT = 'BMP'
RESIDENT = P_RESIDENT
BITMAP_BYTECOUNT = L_BYTECOUNT
COMPRESS_BITMAP = 'X'
IMPORTING
WIDTH_TW = L_WIDTH_TW
HEIGHT_TW = L_HEIGHT_TW
WIDTH_PIX = L_WIDTH_PIX
HEIGHT_PIX = L_HEIGHT_PIX
DPI = P_RESOLUTION
BDS_BYTECOUNT = L_BDS_BYTECOUNT
TABLES
BITMAP_FILE = L_BITMAP
BITMAP_FILE_BDS = L_BDS_CONTENT
EXCEPTIONS
FORMAT_NOT_SUPPORTED = 1
NO_BMP_FILE = 2
BMPERR_INVALID_FORMAT = 3
BMPERR_NO_COLORTABLE = 4
BMPERR_UNSUP_COMPRESSION = 5
BMPERR_CORRUPT_RLE_DATA = 6
OTHERS = 7.
IF SY-SUBRC <> 0.
ENDIF.
CREATE OBJECT L_BDS_OBJECT.
WA_BDS_COMPONENTS-DOC_COUNT = '1'.
WA_BDS_COMPONENTS-COMP_COUNT = '1'.
WA_BDS_COMPONENTS-MIMETYPE = C_BDS_MIMETYPE."application/octet-stream
WA_BDS_COMPONENTS-COMP_SIZE = L_BDS_BYTECOUNT.
APPEND WA_BDS_COMPONENTS TO L_BDS_COMPONENTS.
WA_BDS_SIGNATURE-DOC_COUNT = '1'.
APPEND WA_BDS_SIGNATURE TO L_BDS_SIGNATURE.
L_OBJECT_KEY = P_NAMEX.
CALL METHOD L_BDS_OBJECT->CREATE_WITH_TABLE
EXPORTING
CLASSNAME = C_BDS_CLASSNAME "DEVC_STXD_BITMAP
CLASSTYPE = C_BDS_CLASSTYPE "OT
COMPONENTS = L_BDS_COMPONENTS
CONTENT = L_BDS_CONTENT
CHANGING
SIGNATURE = L_BDS_SIGNATURE
OBJECT_KEY = L_OBJECT_KEY
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC = 0.
READ TABLE L_BDS_SIGNATURE INDEX 1 INTO WA_BDS_SIGNATURE
TRANSPORTING DOC_ID.
IF SY-SUBRC = 0.
P_DOCID = WA_BDS_SIGNATURE-DOC_ID.
WA_STXBITMAPS-TDNAME = P_NAMEX.
WA_STXBITMAPS-TDOBJECT = 'GRAPHICS'.
WA_STXBITMAPS-TDID = 'BMAP'.
WA_STXBITMAPS-TDBTYPE = 'BCOL'.
WA_STXBITMAPS-DOCID = P_DOCID.
WA_STXBITMAPS-WIDTHPIX = L_WIDTH_PIX.
WA_STXBITMAPS-HEIGHTPIX = L_HEIGHT_PIX.
WA_STXBITMAPS-WIDTHTW = L_WIDTH_TW.
WA_STXBITMAPS-HEIGHTTW = L_HEIGHT_TW.
WA_STXBITMAPS-RESOLUTION = P_RESOLUTION.
WA_STXBITMAPS-RESIDENT = P_RESIDENT.
WA_STXBITMAPS-AUTOHEIGHT = P_AUTOHEIGHT.
WA_STXBITMAPS-BMCOMP = P_BMCOMP.
INSERT INTO STXBITMAPS VALUES WA_STXBITMAPS.
ENDIF.
ENDIF.
*--OAER
DATA: SIGN TYPE TABLE OF BAPISIGNAT WITH HEADER LINE,
COMP TYPE TABLE OF BAPICOMPON WITH HEADER LINE,
CONTENT TYPE TABLE OF BAPICONTEN WITH HEADER LINE,
CONTHEX TYPE TABLE OF SOLIX WITH HEADER LINE,
DOCID TYPE SOFOLENTI1-DOC_ID,
OBJKEY TYPE BAPIBDS01-OBJKEY,
DOC_DATA TYPE SOFOLENTI1.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = L_FILE
FILETYPE = 'BIN'
TABLES
DATA_TAB = CONTENT.
BREAK FTELLI.
OBJKEY = P_NAMEX.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'BDS_DOCUMENTCLASS'.
SIGN-PROP_VALUE = DOC_DATA-OBJ_TYPE.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'BDS_CONTREP'.
SIGN-PROP_VALUE = ''.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'BDS_DOCUMENTTYPE'.
SIGN-PROP_VALUE = 'BDS_IMAGE'.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'BDS_TITLE'.
SIGN-PROP_VALUE = 'DIMITRIS'.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'DESCRIPTION'.
SIGN-PROP_VALUE = DOC_DATA-OBJ_DESCR.
APPEND SIGN.
SIGN-DOC_COUNT = '00000001'.
SIGN-PROP_NAME = 'LANGUAGE'.
SIGN-PROP_VALUE = SYST-LANGU.
APPEND SIGN.
COMP-DOC_COUNT = 1.
COMP-COMP_COUNT = 1.
* comp-comp_id = doc_data-obj_descr.
COMP-MIMETYPE = 'image/jpeg'.
COMP-COMP_SIZE = DOC_DATA-DOC_SIZE.
APPEND COMP.
CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
EXPORTING
CLASSNAME = 'PICTURES'
CLASSTYPE = 'OT'
OBJECT_KEY = OBJKEY "p_matnr
TABLES
SIGNATURE = SIGN
COMPONENTS = COMP
CONTENT = CONTENT
EXCEPTIONS
NOTHING_FOUND = 1
PARAMETER_ERROR = 2
NOT_ALLOWED = 3
ERROR_KPRO = 4
INTERNAL_ERROR = 5
NOT_AUTHORIZED = 6
OTHERS = 7.
COMMIT WORK AND WAIT.
REFRESH: CONTENT, CONTHEX, SIGN, COMP.
Thanks a lot ....Hi,
You should be changing the URL passed to the URLRequest to
point to your server. Please check the URL from the HTML page
generated by your JSP and set the URLRequest URL accordingly.
Hope this helps. -
Uploading images with jsp-PLEASE HELP
Hi
I would like to allow users to upload images(photos) from the website im doing.
i was gonna use perl which seems quite easy. Since everything else i used was jsp i thought i might try to do uploader in jsp (though its seems more difficult)
id like to limit :
the maximum file size to be uploaded ,
the maximum width/height of the image file
the list of the acceptable mime-types (Content-Types) -jpg, gif
Any suggestions how to go about it PLEASE- ie. what packages, classes do i need- mimeparser, BufferedImage, FileFilter? cos im bit lost which classes to use.
THANKS LOTS
sabcarinaThis is the jsp File which helps me to upload the file
But for this Jakarta Commons fileupload is needed which is normally provided with Tomcat 5.5
The code is
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ page import="org.apache.commons.fileupload.DiskFileUpload"%>
<%@ page import="org.apache.commons.fileupload.FileItem"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.util.*"%>
<%@ page import="java.io.File"%>
<%@ page import="com.common.*"%>
<!--<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Process File Upload</title>
</head>-->
<%
DerivedLastNoEntity objLastNoEntity=new DerivedLastNoEntity();
DerivedLastNoObject objLastNo=(DerivedLastNoObject)objLastNoEntity.getData(new DerivedLastNoObject(10)).get(0);
int lastNo=objLastNo.getLastNo();
String forwardString=null;
StringBuffer parameters=new StringBuffer();
DiskFileUpload fu = new DiskFileUpload();
// If file size exceeds, a FileUploadException will be thrown
fu.setSizeMax(1000000);
List fileItems = fu.parseRequest(request);
Iterator itr = fileItems.iterator();
while(itr.hasNext()) {
FileItem fi = (FileItem)itr.next();
//Check if not form field so as to only handle the file inputs
//else condition handles the submit button input
if(!fi.isFormField()) {
String fileName=fi.getName();
if(fileName.length()>0)
fileName=(++lastNo)+fileName.substring(fileName.lastIndexOf("."));
File fNew= new File(application.getRealPath("/"), fileName);
parameters.append("&fileName=/struts-blank/"+fileName);
fi.write(fNew);
else
if(fi.getFieldName().equals("forwardString"))
forwardString=fi.getString();
else
parameters.append("&"+fi.getFieldName()+"="+fi.getString());
objLastNo.setLastNo(lastNo);
objLastNoEntity.edit(objLastNo);
System.out.println("before "+forwardString);
if(parameters.length()>0)
if(forwardString.indexOf("?")<0)
forwardString=forwardString.concat(parameters.toString().replaceFirst("&","?"));
else
forwardString=forwardString.concat(parameters.toString());
System.out.println("after "+forwardString);
response.sendRedirect(forwardString);
%>
<!--<body>
Upload Successful!!
</body>
</html>-->Bye for now
CSJakharia -
Hi,
I'd like to upload a file with an ftp. I declared a method using an url as follow :
public static void uploadFile(File fileToMove_p, String newFileName_p) {
try {
URL url_l = new URL("ftp://[uid]:[pwd]@localhost/" + newFileName_p);
URLConnection connection_l = url_l.openConnection();
OutputStream output_l = connection_l.getOutputStream();
BufferedOutputStream bos = new BufferedOutputStream(output_l);
BufferedInputStream bis = new BufferedInputStream(new FileInputStream(fileToMove_p));
int i;
while ((i = bis.read()) != -1) {
bos.write(i);
catch (IOException ex) {}
But when I oppen my new file, it miss the end of my data. The ftp cut the few last line of my original file.
Any idear of what is happening here and how I can solve the problem ?
ThanksAre you closing the OutputStream? If not, you probably should, and closing the stream will flush it prior to closing.
HTH,
§ -
Problems uploading images with uppercase (.JPG) file extension.
I am using coldfusion 8 and have no problems uploading an image using CFFile when the image has a lowercase file extensions such as .jpg however if the same file has a Uppercase file extension .JPG coldfusion hangs and then just times out. The files are exactly the same just different cases in the extensions.
Any idea?
My cffile is set as such <cffile accept="image/*" action="upload" destination="#uploadfolder2#" filefield="profilePictureFileBrowser" nameconflict="makeunique" >
I tried changing the accept property to image/*, image/jpg, image/JPG but that did not fix the problem eitherThanks for the quick reply. So I removed the tag and even though I get an error after submitting the form it appears to not hang anyways. Any idea how to fix this?
I am on a windows 2003 server so cases sensitifity should not be a problem. I am perplexed as to why this would work with lowercase extensions an not upper? -
If export my web site as html then I upload it using an FTP sofware, everything works, but if I use "upload to ftp" from Adobe muse menu there's an error
Hi, Sorry for the late response, are you still experiencing this issue. If yes, please let me know the complete error message.
-
I have a cast member as a place holder for a profile pic. I
want the user to browse their computer for an image to use as their
profile pic and then save that file to a specified location (the
same location as the projector) and be the same size as the place
holder image. My place holder image will be called image1.
I think I have to use baGetFileName to get the file and save
it. But it's not working. This needs to work on a mac and pc. Can
someone give me some clues?The message i recieve is:
-- (member 16 of castLib 1) #member "C:\Documents and Settings\familjen\Skrivbord\1.jpg"
And script stopps and says:
Script error: Handler not defined
rescale(tMember, 140, 300)
#rescale
But problem is solved it works when I remove "rescale(tMember, 140, 300)"
I do wanna rescale the member ... since it dint work i changed the width and height of the sprite instead
The reason it didnt work before it is a director error/bugg because the script works sometimes and sometimes not
But it always work when I make a projector of the file and put the buddy api in a duplicate xtras folder in the same place
as the projector
Though I have another problem
--use this to opem wordpad I put it in frame 1
baOpenFile( "C:\Program\Windows NT\Tillbehör\wordpad.exe" , "active" )
--this I put in frame 15 to put the text in the wordpad
On BeginSprite
baSendKeys( "Some example text of interest" )
end
Well this works! But the wordpad is open all the time and it open up new wordpad every time I
use the script.
So i tried this instead in frame 1:
baSetWindowDepth( baWinHandle() , 3 )
--it puts the director movie behind wordpad
But since wordpad aint active the text "Some example text of interest" wont show -
hi all,
first of all, sorry for my english...
I'm trying to upload my web to the server, but I don't know if is possible to get the web in root... I mean: I want to get my website by visiting www.mydomain.com, but not www.mydomain.com/web...
It's possible to do?
thanksAre you uploading to MobileMe or another server?
-
HOW CAN I DO FOR INSERTING AN IMAGE FROM C:\PHOTO.JPG IN HTML DB?
THANKSIt's easy! Go to the following link:
http://www.oracle.com/technology/products/database/htmldb/howtos/howto_change_logo.html>>
Good Luck!
Regina -
Why I can't upload images to facebook?
simply i can't upload images with safari,,, and when i try to upload by simple uploader it close unexpectedly !!!
with flash uploader i cant select photos from folders in my mac !!!Do you have the latest version of flash installed?
http://download.cnet.com/Adobe-Flash-Player/3000-2378_4-10074404.html
Here is a link for flash player 10. -
my iWeb image names are incompatible with FTP servers and must be renamed but I can't find the images in iWeb. I can upload to a desktop file and change them there but then I would need to download them to a new site in iWeb to publish them.
What's the answer?
ThanksMany thanks to responded to my question and sorry not to get back sooner.
Yes, I discovered by this unfortunate experience that the names of photos are a serious issue if the site is to ever go to an FTP server. Apple should discuss this carefully in their "manual".
One more question: I uploaded the website to a folder on my desktop. When I open it, unlike the photos in iWeb, there are folders for each page which have all the photos in them. I went through each folder and changed the names to be FTP compatible. I'm using iWeb SEO Tool which allows one to upload from this local folder to an FTP server but having trouble.
Is this because there is an imbedment in iWeb that uses the old photo names to link to the actual photos and it can't find them because of the name changes?
Thanks again for your help ...
Phil McP -
Code wont work when trying to upload image!
My Code wont work when I try to upload an image to mysql. (Field in mysql is BLOB)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>insert</title>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<?php require_once('Connections/drama_database.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO databaseimage (name, image) VALUES (%s, %s)",
GetSQLValueString($_POST['name'], "text"),
GetSQLValueString($_POST['image'], "double"));
mysql_select_db($database_drama_database, $drama_database);
$Result1 = mysql_query($insertSQL, $drama_database) or die(mysql_error());
mysql_select_db($database_drama_database, $drama_database);
$query_image = "SELECT * FROM databaseimage";
$image = mysql_query($query_image, $drama_database) or die(mysql_error());
$row_image = mysql_fetch_assoc($image);
$totalRows_image = mysql_num_rows($image);
?>
</head>
<body>
<form action="<?php echo $editFormAction; ?>" method="POST" enctype="multipart/form-data" name="form1" id="form1">
Name: <span id="sprytextfield1">
<label for="name"></label>
<input type="text" name="name" id="name" />
<span class="textfieldRequiredMsg">A value is required.</span></span>
<p>
<label for="image"></label>
<input type="file" name="image" id="image" />
</p>
<p>
<input type="submit" name="Upload" id="Upload" value="Upload" />
</p>
<input type="hidden" name="MM_insert" value="form1" />
</form>
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
</script>
</body>
</html>
<?php
mysql_free_result($image);
?>
Any help would be very much appreciated!OK, that tutorial is different than what I assume you want. I suspect you want the ability to have users upload images and store the metadata of those images in a database, correct? That tutorial only shows how to upload to a specific location so the image can
be displayed in an iframe.
Search for "php file upload scripts" to see how to upload to a file system and store the metadata in the database.
>and no, mostly i have used the dreamweaver features to avoid it as much as possible
As you are seeing, DW code is very limited in what it can do. It also generates code that is not up to current standards,and is very difficult to work with if you need to modify it. Basically, it's junk. Forget it and learn how to read and write code. There are tons on tutorials on how to get started with PHP. DW Server behaviors only seem like a time saver in the beginning. In the end, you'll end up wasting more time using them than learning how to code yourself.
Maybe you are looking for
-
IPod touch will not turn on unless charged
Hi, I have reset my iPod, tried turning off and on again dozens of times but every single time I tried to open an app or attempt to play music when it isn't connected to my computer or plugged it shuts off and will not turn back on until I charge it
-
Hey fellow users, I know that I am not the first one bringing this issue up here, but cant find the solution in the older posts. My menus are always "boxy" with clear disturbed fonts, like they are messed up when I export my DVD menus, if this makes
-
Hello all, So far I love the RV320 its super fast and works really good (with 2 WAN connections). I though have a few questions hoping someone could tell me: 1) Under DHCP Server it gives the option of to use DNS from ISP or DNS Proxy, what
-
Hi , I have a problem with a limitation on a large result set here is my statement select C_CARDBASE.PID C1_PID, AL_L_RIGHT.RIGHT_NAME C2_MAININSCL_DESC, AL_L_INSCL.INSCL_NAME C3_SUBINSCL_DESC, V_HMAIN.HNAME C
-
"different editing timebases?"
hello! Can you hepl me please! I have made two projects and I open a new project for both sequences (of each project) and it says to me that I cannot unite them. (sorry my misspelling, I'm spanish) I open a new project, there I copy the sequence of o